package com.suke.czx.modules.incentive.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 应用模块名称: 绩效
 * 代码描述: 绩效实体
 * copyright: AUZAR ALL RIGHTS RESERVED
 * company: AUZAR
 *
 * @author: 颜米晨
 * @date: 2022/07/22 0:32
 */
@Data
@ApiModel(value = "绩效实体")
public class Incentive implements Serializable {

    private static final long serialVersionUID = 1326797426549607374L;

    @ApiModelProperty(value = "绩效id")
    private Long incentiveId;

    @ApiModelProperty(value = "项目id")
    private Long projectId;

    @ApiModelProperty(value = "岗位二类(1-专职业务员,2-兼职业务员,3-项目经理,4-策划组,5-UI设计&动效创意组,6-程序组,7-内容组,8-硬件开发组,9-行政,10-项目组)")
    private Integer job2;

    @ApiModelProperty(value = "绩效参数id")
    private Long performanceConfigId;

    @ApiModelProperty(value = "员工id")
    private Long userId;

    @ApiModelProperty(value = "员工姓名")
    private String name;

    @ApiModelProperty(value = "分配比例")
    private BigDecimal rate;

    @ApiModelProperty(value = "毛利奖金")
    private BigDecimal grossReward;

    @ApiModelProperty(value = "固定提成")
    private BigDecimal fixedReward;

    @ApiModelProperty(value = "合计金额")
    private BigDecimal totalReward;

    @ApiModelProperty(value = "生成时间")
    private Date generateTime;

    @ApiModelProperty(value = "备注")
    private String note;

    @ApiModelProperty(value = "子数据")
    private List<Incentive> children;

}